<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
	<script type="text/javascript">
	// form
	$('input[name=username]').css()
	$('input[name^=u]')
	$('input[name$=e]')
	$('input[name!=username]')
	$('input[type=text][name=username][title=username]')

	$(':text')
	$(':password')
	$(':radio')
	$(':checkbox')
	$(':submit')
	$(':reset')
	$(':button')

	$(':text').val()
	$(':text').val('helloworld');

	$('input[name=sex]:checked').val()

	$('input[name=sex][value=女]').attr('checked','checked');


	$('input[name="hobby[]"]:checked').each()
	arr.push()
	arr.unshift()
	arr.pop()
	arr.shift()

	$('select[name=city]').val()

	<textarea value='1213'>1234</textarea>

	$('textarea[name=intro]').val()

	file
	文件名

	div.offset()  返回的是对象

	{left:100,top:100}

	position 相对于父级

	scorllLeft()
	scrollTop()

	$(window).width()
	$(window).height()

	$(document).width();
	$(document).height();

	$('div').width();
	$('div').height();






	</script>
</body>
</html>